(function (mui, $) {

mui.plusReady(function () {
	var view = plus.webview.currentWebview();
	$('.order_id').text(view.extras.order_no);
});

$('.btn-go-order').on('tap', function () {
  return app.open('member.order.html');
	var view = plus.webview.getWebviewById('member.order.html');
	if (view) { view.show(); } else { app.open('member.order.html'); }
	
	var me = plus.webview.currentWebview();
	me.hide();
	setTimeout(function () { me.close(); }, 500);
});

})(mui, $);
